package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 员工调岗记录
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_employee_record")
@TableAlias("ber")
@ApiModel(value = "BusEmployeeRecord对象", description = "员工调岗记录")
public class BusEmployeeRecord extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "employeeRecordId", type = IdType.ASSIGN_ID)
    private Long employeeRecordId;

    @ApiModelProperty(value = "销售Id")
    private Long employeeId;

    @ApiModelProperty(value = "原机场")
    private Long oldAirportId;

    @ApiModelProperty(value = "现机场")
    private Long newAirportId;

    @ApiModelProperty(value = "旧目标Id")
    private Long oldTargetId;

    @ApiModelProperty(value = "新目标Id")
    private Long newTargetId;

}
